package com.aaa.json.entity;

/**
 * @program: javamvc-mvcup
 * @description:
 * @author: 诸葛龙辰
 * @create: 2023-03-03 21:03
 * @version:
 **/
public class Dept {
    private  Integer embId;
    private  String empName;
    private  Integer year;
    private  Integer month;
    private  double salary;
private  String loc;
    public Dept() {
    }

    public Dept(String empName, Integer year, Integer month, double salary) {
        this.empName = empName;
        this.year = year;
        this.month = month;
        this.salary = salary;
    }

    public Dept(Integer embId, String empName, Integer year, Integer month, double salary, String loc) {
        this.embId = embId;
        this.empName = empName;
        this.year = year;
        this.month = month;
        this.salary = salary;
        this.loc = loc;
    }

    public Dept(Integer embId, String loc) {
        this.embId = embId;
        this.loc = loc;
    }

    public Dept(String empName, Integer year, Integer month, double salary, String loc) {
        this.empName = empName;
        this.year = year;
        this.month = month;
        this.salary = salary;
        this.loc = loc;
    }

    @Override
    public String toString() {
        return "Dept{" +
                "embId=" + embId +
                ", empName='" + empName + '\'' +
                ", year=" + year +
                ", month=" + month +
                ", salary=" + salary +
                ", loc='" + loc + '\'' +
                '}';
    }

    public String getLoc() {
        return loc;
    }

    public void setLoc(String loc) {
        this.loc = loc;
    }

    public Integer getEmbId() {
        return embId;
    }

    public void setEmbId(Integer embId) {
        this.embId = embId;
    }

    public String getEmpName() {
        return empName;
    }

    public void setEmpName(String empName) {
        this.empName = empName;
    }

    public Integer getYear() {
        return year;
    }

    public void setYear(Integer year) {
        this.year = year;
    }

    public Integer getMonth() {
        return month;
    }

    public void setMonth(Integer month) {
        this.month = month;
    }

    public double getSalary() {
        return salary;
    }

    public void setSalary(double salary) {
        this.salary = salary;
    }
}
